#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
using namespace std;;
int main()
{
	int a[2][5], i, j;
	for (i = 0; i < 2; i++)
		for (j = 0; j < 5; j++)
			a[i][j] = i + j;
	for (i = 0; i < 2; i++)
	{
		for (j = 0; j < 5; j++)
			cout << a[i][j];
		cout << endl;
	}
	return 0;
}